package 设计模式.结构模式.外观模式;

/**
 * @author MT
 * @date 2019-11-13 18:07
 */
public class Facade {

    private SubSystem01 obj1 = new SubSystem01();
    private SubSystem02 obj2 = new SubSystem02();
    private SubSystem03 obj3 = new SubSystem03();

    public void method() {
        obj1.method1();
        obj2.method2();
        obj3.method3();
    }
}
